package com.lyf.dao;

import com.lyf.pojo.Employee;
import com.lyf.pojo.Job;
import com.lyf.pojo.User;
import com.lyf.utils.PageModel;

import java.util.List;

public interface JobDao {


    //新增
    void add(Job job);

    //删除
    void delete(Integer id);

    //修改
    void update(Job job);

    //查询全部
    List<Job> selectAll();

    //根据id查询
    Job selectById(Integer id);

    //分页条件查询
    List<Job> queryJob(Job job, PageModel model);

    //分页条件总记录数查询
    int getTotalJobCount(Job job);
    
}
